Uses of Class
es.csic.iiia.fabregues.dip.board.Game
Package | Description |
---|---|
es.csic.iiia.fabregues.dip | |
es.csic.iiia.fabregues.dip.board | |
es.csic.iiia.fabregues.dip.comm | |
es.csic.iiia.fabregues.dip.util |
-
Uses of Game in es.csic.iiia.fabregues.dip
Fields in es.csic.iiia.fabregues.dip declared as Game Modifier and Type Field Description protected Game
Observer. game
Methods in es.csic.iiia.fabregues.dip that return Game Modifier and Type Method Description Game
Observer. getGame()
Methods in es.csic.iiia.fabregues.dip with parameters of type Game Modifier and Type Method Description void
Observer. setGame(Game game)
-
Uses of Game in es.csic.iiia.fabregues.dip.board
Methods in es.csic.iiia.fabregues.dip.board that return Game Modifier and Type Method Description Game
GameState. getGame()
-
Uses of Game in es.csic.iiia.fabregues.dip.comm
Fields in es.csic.iiia.fabregues.dip.comm declared as Game Modifier and Type Field Description protected Game
OrderParser. game
protected Game
StringA2Order. game
Methods in es.csic.iiia.fabregues.dip.comm that return Game Modifier and Type Method Description static Game
GameBuilder. createGame()
Creates the first game state of the standard Diplomacy gamestatic Game
GameBuilder. createGame(java.lang.String[] sco, java.lang.String[] now)
Creates a game state of the standard Diplomacy gamestatic Game
GameBuilder. createGame(java.lang.String[] MDF, java.lang.String[] homes, java.lang.String[] SCO, java.lang.String[] NOW)
Creates a game stateGame
GameBuilder. getGame()
Methods in es.csic.iiia.fabregues.dip.comm with parameters of type Game Modifier and Type Method Description static Region
ParseService. getDestinationRegion(Game game, java.lang.String unitType, java.lang.String[] message)
static java.lang.String[]
Parser. getNOW(Game game)
Generate the current NOW message NOW (turn) (unit) (unit) ? This is sent from the server to the AI at the start of the game, and after every turn.static Power
ParseService. getPower(Game game, java.lang.String[] message)
static Province
ParseService. getProvince(Game game, java.lang.String[] message)
static Region
ParseService. getRegion(Game game, java.lang.String[] message)
( | RUS | AMY | MOS | )static java.lang.String[]
Parser. getSCO(Game game)
static Region
ParseService. getUnit(Game game, java.lang.String[] message)
static java.util.List<Order>
StringA2Order. processOrders(java.lang.String[] message, Game game)
Checks the correct number of brackets on an Order Cuts an order into different onesstatic void
Parser. setHomes(java.lang.String[] scoMessage, Game game)
Fica les homes a cada potenciastatic void
Parser. updateControlledRegions(java.lang.String[] message, Game game)
Update controlled regions infostatic void
Parser. updateOwnedSCs(java.lang.String[] scoMessage, Game game)
Update info about ownded SCsConstructors in es.csic.iiia.fabregues.dip.comm with parameters of type Game Constructor Description OrderParser(Game game)
StringA2Order(Game game)
-
Uses of Game in es.csic.iiia.fabregues.dip.util
Methods in es.csic.iiia.fabregues.dip.util that return Game Modifier and Type Method Description static Game
GameCloner. clone(Game game)
Clones a gameMethods in es.csic.iiia.fabregues.dip.util with parameters of type Game Modifier and Type Method Description static Game
GameCloner. clone(Game game)
Clones a game